﻿require.config({
    "baseUrl":"/ecp/webcore",
    "urlArgs":"v=2.0",
    "waitSeconds":"30",
    "themes":{
    	"default":{"path":"themes/default","title":"默认"}
    },
    "paths":{
		"domReady": "plugins/requirejs/domReady",
		"text": "plugins/requirejs/text",
		"css": "plugins/requirejs/css-0.1.2",
		"i18n": "plugins/requirejs/i18n",
		"jquery": "plugins/jquery/jquery",
		"jquery.json": "plugins/jquery/jquery.json",
		"jquery.cookie": "plugins/jquery/jquery.cookie",
		"jquery.lazyload": "plugins/jquery/jquery.lazyload",
		"jquery.scrollLoading": "plugins/jquery/jquery.scrollLoading",
		"jquery.blockui":"plugins/jquery.blockui.min",
		"jquery.rotate":"plugins/jqueryRotate.2.2",
		"jquery.Jcrop":"plugins/jcrop/js/jquery.Jcrop.min",
		"jquery.migrate":"plugins/jquery-migrate.min",
		"jquery.resize":"plugins/jquery/jquery.ba-resize",
		"stacktrace" : "plugins/stacktrace",
		"bootstrap": "plugins/bootstrap/js/bootstrap",
		"angular": "plugins/angular/angular",
		"angular-route": "plugins/angular/angular-route",
		"angular-mocks": "plugins/angular/angular-mocks",
		"angular-scenario": "plugins/angular/angular-scenario",
		"enjoyhint": "plugins/enjoyhint/enjoyhint",
		"select2": "plugins/select2/select2",
		"bootstrap-select": "plugins/bootstrap-select/bootstrap-select",
		"qunit": "plugins/qunit/qunit",
		"encrypt.rsa": "plugins/encrypt/rsa",
		"encrypt.jsbn": "plugins/encrypt/jsbn",
		"encrypt.rng": "plugins/encrypt/rng",
		"encrypt.prng": "plugins/encrypt/prng4",
		// 组件
		"jquery.widget": "plugins/jquery-ui/jquery.ui.widget",
		"jquery.core": "plugins/jquery-ui/jquery.ui.core",
		"jquery.mouse": "plugins/jquery-ui/jquery.ui.mouse",
		"jquery.draggable": "plugins/jquery-ui/jquery.ui.draggable",
		"jquery.droppable": "plugins/jquery-ui/jquery.ui.droppable",
		"jqueryui": "plugins/jquery-ui/jquery-ui-1.10.3.custom.min",
		"jquery.validate": "plugins/jquery-validation/dist/jquery.validate",
		"jsBarcode": "plugins/jsBarcode/JsBarcode.all",
		"jq-dataTable": "plugins/data-tables/js/dataTables.responsive",
		"jq-dataTable-base": "plugins/data-tables/js/jquery.dataTables",
		"bs-dataTable": "plugins/data-tables/js/dataTables.bootstrap",
		"bs-notify": "plugins/bootstrap-notify/bootstrap-notify.min",
		"wysihtml5":"plugins/bootstrap-wysihtml5/js/wysihtml5",
		"bs-wysihtml5": "plugins/bootstrap-wysihtml5/bootstrap-wysihtml5",
		"bs-slider": "plugins/bootstrap-slider/js/bootstrap-slider",
		"bs-switch":"plugins/bootstrap-switch/js/bootstrap-switch",
		"bs-spinner":"plugins/fuelux/js/spinner.min",
		"bs-validator":"plugins/bootstrap-validator/js/bootstrapValidator",
		"jstree": "plugins/jstree/dist/jstree",
		"intro": "plugins/intro/intro",
		"jstorage": "plugins/jstorage",
		"jqueryutils": "plugins/jquery-slimscroll/jquery.slimscroll.min",
		"big-decimal": "plugins/big-decimal/BigDecimal-all-last",
		"uniform": "plugins/uniform/jquery.uniform.min",
		"fileinput": "plugins/bootstrap-fileinput/bootstrap-fileinput",
		"autocomplete": "plugins/bootstrap-autocomplete/bootstrap-autocomplete",
		"datepicker": "plugins/bootstrap-datepicker/js/bootstrap-datepicker",
		"datetimepicker":"plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker",
		"daterangemonent":"plugins/bootstrap-daterangepicker/moment.min",
		"daterangepicker":"plugins/bootstrap-daterangepicker/daterangepicker",
		"colorpicker":"plugins/bootstrap-colorpicker/js/bootstrap-colorpicker",
		"typeahead":"plugins/bootstrap-typeahead/bootstrap3-typeahead",
		"tooltip" : "plugins/tooltip",
		"sugar": "plugins/sugar/sugar-1.4.1",
		"calculator":"plugins/jquery-calculator/calculator",
		"webuploader": "plugins/webuploader/webuploader",
		"jquery.notific8":"plugins/jquery-notific8/jquery.notific8.min",
		"jquery.qrcode":"plugins/qrcode/jquery-qrcode-0.14.0",
		"is":"plugins/is/is",
		//移动端插件
		"mobile.date":"plugins/mobile/mobiscroll/mobiscroll",
		"mobiscroll":"plugins/mobile/mobiscroll/mobiscroll_date",
		"jqueryui.datepicker":"plugins/mobile/jquery-mobile-datepicker/datepicker",
		"jquery.mobile.datepicker":"plugins/mobile/jquery-mobile-datepicker/jquery.mobile.datepicker",
		// echarts图形组件
	    "ecp.control.common":"scripts/ecp.web.control.common",
		"echarts": "plugins/echarts/echarts.min",
		"echarts.all": "plugins/echarts/echarts.all.min",
		"fusioncharts": "plugins/fusioncharts/FusionCharts",
		"fusioncharts.hc": "plugins/fusioncharts/FusionCharts.HC",
		"fusioncharts.hc.charts": "plugins/fusioncharts/FusionCharts.HC.Charts",
		"ecp.dmstate":"scripts/ecp.web.displaymodelstate",
		"ecp.service": "scripts/ecp.web.service",
		"ecp.locale": "scripts/i18n/nls/ecp.web.locale",
		"ecp.junit": "scripts/ecp.web.junit",
		"ecp.e2e": "scripts/ecp.web.e2e",
		"ecp.model": "scripts/ecp.web.core.model",
		"ecp.pagemessage": "scripts/ecp.web.pagemessage",
		"ecp.render.config": "scripts/ecp.web.render.config",
		"ecp.const": "scripts/ecp.web.const",
		"ecp.utils": "scripts/ecp.web.utils",
		"ecp.utils.hz2py": "scripts/ecp.web.utils.hz2py",
		"ecp.utils.des": "scripts/ecp.web.utils.des",
		"ecp.utils.window": "scripts/ecp.web.utils.window",
		"ecp.utils.render": "scripts/ecp.web.utils.render",
		"ecp.utils.tree": "scripts/ecp.web.utils.tree",
		"ecp.utils.i18n": "scripts/ecp.web.utils.i18n",
		"ecp.extender.indigenous": "scripts/ecp.web.extender.indigenous",
		"ecp.serverlog": "scripts/ecp.web.serverlog",
		"ecp.network": "scripts/ecp.web.network",
		"ecp.wwnetwork": "scripts/ecp.webworker.network",
		"ecp.network.show": "scripts/ecp.web.network.show",
		"ecp.download": "components/export/ecp.download",
		"ecp.export": "components/export/ecp.export",
		"ecp.component.export":"components/export/ecp.component.export",
		"ecp.dialog": "components/dialog/ecp.dialog",
		"ecp.print":"components/print/ecp.print",
		"ecp.calculator":"components/calculator/ecp.calculator",
	    "ecp.component.dialog": "components/dialog/ecp.component.dialog",
        "qzz.base":"components/qzz/ecp.qzz.base",
		"qzz.object":"components/qzz/ecp.qzz.object",
		"qzz.treenode":"components/qzz/ecp.qzz.treenode",
		"qzz.treelist":"components/qzz/ecp.qzz.treelist",
		"qzz.treedataset":"components/qzz/ecp.qzz.treedataset",
		"qzz.date":"components/qzz/ecp.qzz.date",
		"qzz.expression":"components/qzz/ecp.qzz.expression",
		"qzz.list":"components/qzz/ecp.qzz.list",
		"qzz.window":"components/qzz/ecp.qzz.ui.window",
		"qzz.text":"components/qzz/ecp.qzz.ui.text",
		"qzz.button":"components/qzz/ecp.qzz.ui.button",
		"qzz.toolbutton":"components/qzz/ecp.qzz.ui.toolbutton",
		"qzz.scrollbar":"components/qzz/ecp.qzz.ui.scrollbar",
		"qzz.calendar":"components/qzz/ecp.qzz.ui.calendar",
		"qzz.panel":"components/qzz/ecp.qzz.ui.panel",
		"qzz.paged":"components/qzz/ecp.qzz.ui.paged",
		"qzz.frame":"components/qzz/ecp.qzz.ui.frame",		
		"qzz.listview":"components/qzz/ecp.qzz.ui.listview",
        "qzz.listbox":"components/qzz/ecp.qzz.ui.listbox",
        "qzz.listgrid":"components/qzz/ecp.qzz.ui.listgrid",
		"qzz.treeview":"components/qzz/ecp.qzz.ui.treeview",
		"qzz.gridview":"components/qzz/ecp.qzz.ui.gridview",
		"qzz.grid":"components/qzz/ecp.qzz.ui.grid",
		"qzz.querygrid":"components/qzz/ecp.qzz.ui.querygrid",
		"qzz.pwindow":"components/qzz/ecp.qzz.ui.drop.popwindow",
		"qzz.pmenu":"components/qzz/ecp.qzz.ui.drop.popmenu",
        "qzz.pfilter":"components/qzz/ecp.qzz.ui.drop.popfilter",
		"qzz.plistview":"components/qzz/ecp.qzz.ui.drop.poplistview",
		"qzz.ptreeview":"components/qzz/ecp.qzz.ui.drop.poptreeview",
		"qzz.pcalendar":"components/qzz/ecp.qzz.ui.drop.popcalendar", 
		"qzz.iedit":"components/qzz/ecp.qzz.ui.input.edit",
		"qzz.inumber":"components/qzz/ecp.qzz.ui.input.number",
		"qzz.iupdown":"components/qzz/ecp.qzz.ui.input.updown",
		"qzz.icombobox":"components/qzz/ecp.qzz.ui.input.combobox",
		"qzz.icombotree":"components/qzz/ecp.qzz.ui.input.combotree",
		"qzz.idatepicker":"components/qzz/ecp.qzz.ui.input.datepicker",
		"qzz.ibuttonedit":"components/qzz/ecp.qzz.ui.input.buttonedit",
		"qzz.icheckbox":"components/qzz/ecp.qzz.ui.input.checkbox",
		"qzz.dbase":"components/qzz/ecp.qzz.ui.design.base",
		"qzz.dimage":"components/qzz/ecp.qzz.ui.design.image",
		"qzz.dline":"components/qzz/ecp.qzz.ui.design.line",
		"qzz.dtable":"components/qzz/ecp.qzz.ui.design.table",
		"qzz.dtext":"components/qzz/ecp.qzz.ui.design.text",
		"qzz.codeview":"components/qzz/ecp.qzz.ui.codeview",
		"qzz.copy":"components/qzz/ZeroClipboard",
		"qzz.coldesign":"components/qzz/pertain/js/ecp.qzz.pertain.gridcoldesign",
        "print.xml":"components/print/ecp.print.xml",
        "print.bean":"components/print/ecp.print.bean",
        "print.ecpBean":"components/print/ecp.print.ecpBean",
		"ecp.component.preview" : "components/preview/ecp.component.preview",
        "ecp.component.progress" : "components/progress/ecp.component.progress",
		"ecp.component.loading" : "components/loading/ecp.component.loading",
		"ecp.component.magnifier":"components/inputmagnifier/js/ecp.component.magnifier",
		"ecp.component.rangepicker": "components/rangepicker/ecp.component.rangepicker",
		"ecp.component.numberBox":"components/numberBox/ecp.component.numberBox",
		"ecp.component.validateBox":"components/validateBox/ecp.component.validateBox",
	    "ecp.components.webuploader":"components/webuploader/ecp.components.webuploader",
	    "modalmanager" : "plugins/bootstrap-modal/js/bootstrap-modalmanager",
	    "bs-modal":"plugins/bootstrap-modal/js/bootstrap-modal",
	    "ecp.component.bsWindow" :"components/window/ecp.component.bsWindow",
	    "ecp.component.popover":"components/popover/ecp.component.popover",
	    "ecp.component.ExtendWindow":"components/window/ecp.component.ExtendWindow",
	    "ecp.component.comboBox":"components/select/ecp.component.comboBox",
	    "ecp.component.poptree":"components/select/ecp.component.poptree",
	    "ecp.component.popentity":"components/select/ecp.component.popentity",
		"ecp.component.treeSelect":"components/select/ecp.component.treeSelect",
	    "ecp.component.entityselect":"components/select/ecp.component.entityselect",
	    "ecp.component.enumselect":"components/select/ecp.component.enumselect",
	    "ecp.component.sysEnumSelect":"components/select/ecp.component.sysEnumSelect",
	    "ecp.component.search":"components/search/ecp.component.search",
	    "ecp.component.attatchView":"components/upload/ecp.component.attatchView",
	    "ecp.component.ajaxfileupload":"components/upload/ajaxfileupload",
		"ecp.component.uploadPanel":"components/upload/ecp.component.uploadPanel",
	    "ecp.component.webUpload":"components/upload/ecp.component.webUpload",
		"ecp.component.uploadManage":"components/upload/ecp.component.uploadManage",
	    "ecp.component.upload":"components/upload/ecp.component.upload",
		"ecp.component.simpleUpload":"components/upload/ecp.component.simpleUpload",
		"ecp.component.multipleUpload":"components/upload/ecp.component.multipleUpload",
	    "ecp.business.treeSelect":"business/select/ecp.business.treeSelect",
	    "ecp.business.entityselect":"business/select/ecp.business.entityselect",
	    "ecp.component.import" : "components/import/ecp.component.import",
	    "ecp.component.ImportResult" : "components/import/ecp.component.ImportResult",
	    "ecp.component.photoSetting":"components/photoSetting/ecp.component.photoSetting",
	    "ecp.search":"components/search/ecp.search",
	    "ecp.locate":"components/search/ecp.locate",
	    "ecp.component.imgPreview": "components/imgPreview/ecp.component.imgPreview",
	    "ecp.component.taskservice":"components/taskcenter/ecp.component.taskservice",
		"ecp.component.taskcenter":"components/taskcenter/ecp.component.taskcenter"
     },
    "shim":{
        "bootstrap": {"deps": ["jquery"]},
        "ecp.service":{"deps":["jquery","jquery.json","jquery.cookie"]},
        "jquery.cookie":{"deps":["jquery"]},
        "jquery.json":{"deps":["jquery"]},
        "jquery.blockui" :{"deps":["jquery"]},
        "select2":{
            "deps":["jquery","css!select2/select2.css","css!select2/select2-bootstrap.css","css!select2/select2-metronic.css"]
         },
         "bootstrap-select" :{
      	   "deps":["jquery", "bootstrap","select2","css!bootstrap-select/css/bootstrap-select.min.css"]
         },
        "jqueryui": {
            "exports": "jqueryui",
            "deps": [
                 "jquery",
                 "css!jquery-ui/jquery-ui-1.10.3.custom.min.css"
             ]
         },
		"jqueryutils": {"deps":["jquery"]},
     	"jquery.lazyload": {"deps":["jquery"]},
		"jquery.scrollLoading": {"deps":["jquery"]},
		"jquery.blockui":{"deps":["jquery"]},
		"jquery.rotate":{"deps":["jquery"]},
		"jquery.migrate":{"deps":["jquery"]},
		"jquery.resize":{"deps":["jquery"]},
		
        "jquery.migrate":{"deps":["jquery"]},
        "jquery.widget":{"deps":["jquery"]},
        "jquery.core":{"deps":["jquery"]},
        "jquery.mouse":{"deps":["jquery.widget"]},
        "jquery.draggable":{"deps":["jquery.mouse","jquery.core"]},
        "jquery.droppable":{"deps":["jquery.widget"]},
        "jquery.validate":{"deps":["jquery"]},
        "jquery.Jcrop":{"deps":["jquery","css!/grm/ecp/webcore/plugins/jcrop/css/jquery.Jcrop.min.css"]},
        "calculator":{"deps":["jquery.droppable","jquery.draggable","css!jquery-calculator/calculator.css"]},
        "jq-dataTable": {
             "exports": "jq-dataTable",
             "deps": [
                 "jquery",
                 "css!data-tables/css/jquery.dataTables.min.css",
                 "css!data-tables/css/dataTables.responsive.css",
                 "jq-dataTable-base"
             ]
         },
        "bs-dataTable":{
            "exports": "bs-dataTable",
            "deps": [
                "css!data-tables/css/dataTables.bootstrap.css",
                "jq-dataTable"
            ]
        },
         "jstree": {
             "exports": "jstree",
             "deps": [
                  "jquery", "css!jstree/style.min.css"
             ]
         },
         "tooltip":{
         	"deps":["jquery"]
         },
        "qunit":{
            "exports":"qunit",
            "deps":[
                "css!qunit/qunit.css"
            ]    
        },
        "angular":{
            "deps":["jquery"],
            "exports":"angular"
        },
        "angular-route":{
            "deps":["angular"],
            "exports":"angular-route"
        },
        "angular-mocks":{
            "deps":["angular"],
            "exports":"angular-mocks"
        },
        "angular-scenario":{
        	"exports":"angular-scenario"
        },
        "enjoyhint": {
        	"exports": "enjoyhint",
            "deps": ["jquery", "css!enjoyhint/enjoyhint.css"]
        },
        "intro": {
            "exports": "intro",
            "deps": [
             	"jquery","css!plugins/intro/introjs.css"
            ]
        },
        "jstorage" :{
			"deps":["jquery"]
		},
        "uniform": {
            "exports": "uniform",
           "deps": [
              "jquery",
                "css!uniform/css/uniform.default.css"
            ]
        },
        "fileinput": {
            "deps": [
                 "jquery","css!bootstrap-fileinput/bootstrap-fileinput.css"
            ]
        },
		"mobile.date" : {
			"deps": [
					"jquery","mobiscroll","css!mobile/mobiscroll/mobiscroll.css","css!mobile/mobiscroll/mobiscroll_date.css"
			]	
		},
		"jquery.mobile.datepicker" : {
			"deps":[
					"jquery.widget","css!mobile/jquery-mobile-datepicker/jquery.mobile.datepicker.css","css!mobile/jquery-mobile-datepicker/jquery.mobile.datepicker.theme.css"
			]	
		},
        "wysihtml5" : {
    	  	"deps" : [
    	  	    "css!/grm/ecp/webcore/plugins/bootstrap-wysihtml5/css/bootstrap.css",
	            "css!/grm/ecp/webcore/plugins/bootstrap-wysihtml5/css/wysiwyg-color.css","css!/grm/ecp/webcore/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css"
          ]
        },
  	  	"bs-wysihtml5": {
  	  		"deps": [
  		         "jquery","bootstrap","wysihtml5"
           ]
  	  	},
  	  	"bs-slider": {
  	  		"deps": [
  	  		    "jquery","css!/grm/ecp/webcore/plugins/bootstrap-slider/css/bootstrap-slider.css"
	        ]
  	  	},
  	  	"bs-validator": {
  	  		"deps": [
  	  		     "jquery","bootstrap","css!/grm/ecp/webcore/plugins/bootstrap-validator/css/bootstrapValidator.css"
  	  		]
  	  	},
        "autocomplete": {
            "deps": [
                 "jquery","css!typeahead/typeahead.css"
            ]
        },
        "datepicker": {
            "deps": [
                  "jquery","css!bootstrap-datepicker/css/datepicker.css"
            ]
        },
        "datetimepicker": {
        	"deps": ["jquery","css!font-awesome/css/font-awesome.min.css", "css!/grm/ecp/webcore/plugins/bootstrap-datetimepicker/css/datetimepicker.css"]
        },
        "daterangepicker": {
        	"deps": ["jquery",
        	         "css!/ecp/webcore/plugins/font-awesome/css/font-awesome.css",
        	         "daterangemonent",
        	         "css!/grm/ecp/webcore/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css"]
        },
        "colorpicker" : {
        	"deps": [
        	         "jquery","css!/grm/ecp/webcore/plugins/bootstrap-colorpicker/css/colorpicker.css"
        	]
    	},
    	"bs-switch":{
    		"deps":["jquery","css!/grm/ecp/webcore/plugins/bootstrap-switch/css/bootstrap-switch.min.css","css!/grm/ecp/webcore/plugins/bootstrap-switch/css/bootstrap-switch-custom.css"]
   	  	},
   	  	"bs-spinner":{
   	  		"deps":["jquery"]
   		},
        "webuploader": {
            "deps": ["jquery",
                "css!webuploader/webuploader.css"
            ]
        },       
        "jquery.notific8" :{
			"deps":["jquery","css!jquery-notific8/jquery.notific8.min.css"]
		},
		"jquery.qrcode" :{
			"deps":["jquery"]
		},
        "fusioncharts": {
			"exports": "global"
		},
		"fusioncharts.hc": {
			"deps": ["fusioncharts"]
		},
		"fusioncharts.hc.chart": {
			"deps": ["fusioncharts"]
		},
	    "ecp.component.magnifier" : {
	    	"deps":["css!/grm/ecp/webcore/components/inputmagnifier/css/inputmagnifier.css"]
	    },
	    "ecp.component.comboBox" : {
	    	"deps":["css!/grm/ecp/webcore/plugins/select2/select2-metronic.css"]
	    },
	    "ecp.component.poptree" : {
	    	"deps":["css!font-awesome/css/font-awesome.css"]
	    },
	    "ecp.component.popentity" : {
	    	"deps":["css!font-awesome/css/font-awesome.css"]
	    },
	    "ecp.component.attatchView" : {
			  "deps":["jquery.rotate"]
		},
		"ecp.component.ajaxfileupload" : {
			"deps":["jquery"]
		},
	    "ecp.components.webuploader": {
	    	"deps":["css!/grm/ecp/webcore/plugins/webuploader/css/webuploader_panel.css"]
	    },
	    "ecp.component.uploadPanel": {
	    	  "deps":["css!/grm/ecp/webcore/themes/default/upload/bsUpload.css"]
	    },
	    "modalmanager" : {
	    	"deps" :["jquery", "css!/grm/ecp/webcore/plugins/bootstrap-modal/css/bootstrap-modal-bs3patch.css"]
	    },
	    "bs-modal" : {
	    	"deps" :["modalmanager", "css!/grm/ecp/webcore/plugins/bootstrap-modal/css/bootstrap-modal.css"]
	    }
    }
});